<template>
  <div class="content">
    <div class="bar">
      <div class="bar-left">
        <img src="../../../assets/img/common/back.svg" alt="" @click="back">
        <p>电台</p>
      </div>
    </div>
  </div>
</template>

<script>
    export default {
        name: "RadioNavBar",
        methods:{
            back(){
                this.$router.back()
            }
        }
    }
</script>

<style scoped>
  .content{
    width: 100%;
    position: relative;
  }

  .bar{
    position: absolute;
    top: -44px;
    left: 0;
    width: 100%;
    height: 44px;
    background-color: white;
  }

  .bar-left{
    width: 100px;
    position: absolute;
    left: 20px;
  }

  .bar-left img{
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 10px;
  }

  .bar-left p{
    display: inline-block;
    line-height: 44px;
    font-size: 15px;
    color: black;
    font-weight: 600;
    letter-spacing: 2px;
  }

</style>